package com.coming.mySpring.org.service.impl;

import com.coming.mySpring.base.service.impl.BaseServiceImpl;
import com.coming.mySpring.org.domain.SystemDictionaryDetail;
import com.coming.mySpring.org.mapper.SystemDictionaryDetailMapper;
import com.coming.mySpring.org.service.ISystemDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class SystemDictionaryDetailServiceImpl extends BaseServiceImpl<SystemDictionaryDetail> implements ISystemDictionaryDetailService {
    @Autowired
    private SystemDictionaryDetailMapper systemDictionaryDetailMapper;

    /**
     * 根据id删除
     * @param id
     */
    @Transactional
    @Override
    public void delete(Long id) {
        systemDictionaryDetailMapper.delete(id);
    }
}
